package XML;

public class DeleteTag implements Command{
public TagXML t, radacina;
	
	public DeleteTag(){
		super();
	}
	
	public DeleteTag(TagXML t, TagXML r){
		this.t = t;
		this.radacina = r;
	}

	public TagXML getT() {
		return t;
	}

	public void setT(TagXML t) {
		this.t = t;
	}

	public TagXML getRadacina() {
		return radacina;
	}

	public void setRadacina(TagXML radacina) {
		this.radacina = radacina;
	}
	
	public void execute(){
		t.taguri.remove(radacina);
	}
}
